package com.example.hp.storeapp.base;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by HP on 2017/4/12.
 */

public abstract class BaseActivity extends AppCompatActivity {

    protected  static  String userId;
    public  static String phonenum;



    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Context context = BaseActivity.this;

    }
    public  static  void setUserId(String uid){
        userId =uid;

    }
    public  static  String getUserId(){
        return  userId;
    }
}
